package com.ydkj.a37e_mall.Classes.Model.Response;

import java.util.List;

/**
 * Created by hong on 2016/3/10.
 */
public class AddressListResp {


    /**
     * errno : 000
     * errmsg :
     * result : {"data":[{"id":0,"name":"","address":"","province":"","province_id":0,"city":"","city_id":0,"area":"","area_id":0,"area_code":0,"location":"","location_id":0,"detail":"","zip_code":"","mobile":"","thumb":"","is_default":0}],"total_page":"","current_page":"","total":"","access_token":"pq7MxaKoqs+dl2JmapaV"}
     */

    private String errno;
    private String errmsg;
    private ResultEntity result;

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public static class ResultEntity {
        /**
         * data : [{"id":0,"name":"","address":"","province":"","province_id":0,"city":"","city_id":0,"area":"","area_id":0,"area_code":0,"location":"","location_id":0,"detail":"","zip_code":"","mobile":"","thumb":"","is_default":0}]
         * total_page :
         * current_page :
         * total :
         * access_token : pq7MxaKoqs+dl2JmapaV
         */

        private String total_page;
        private String current_page;
        private String total;
        private String access_token;
        private List<DataEntity> data;

        public String getTotal_page() {
            return total_page;
        }

        public void setTotal_page(String total_page) {
            this.total_page = total_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * id : 0
             * name :
             * address :
             * province :
             * province_id : 0
             * city :
             * city_id : 0
             * area :
             * area_id : 0
             * area_code : 0
             * location :
             * location_id : 0
             * detail :
             * zip_code :
             * mobile :
             * thumb :
             * is_default : 0
             */

            private int id;
            private String name;
            private String address;
            private String province;
            private int province_id;
            private String city;
            private int city_id;
            private String area;
            private int area_id;
            private int area_code;
            private String location;
            private int location_id;
            private String detail;
            private String zip_code;
            private String mobile;
            private String thumb;
            private int is_default;
            private boolean is_check;
            private int check_code = 0;
            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public int getProvince_id() {
                return province_id;
            }

            public void setProvince_id(int province_id) {
                this.province_id = province_id;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public int getCity_id() {
                return city_id;
            }

            public void setCity_id(int city_id) {
                this.city_id = city_id;
            }

            public String getArea() {
                return area;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public int getArea_id() {
                return area_id;
            }

            public void setArea_id(int area_id) {
                this.area_id = area_id;
            }

            public int getArea_code() {
                return area_code;
            }

            public void setArea_code(int area_code) {
                this.area_code = area_code;
            }

            public String getLocation() {
                return location;
            }

            public void setLocation(String location) {
                this.location = location;
            }

            public int getLocation_id() {
                return location_id;
            }

            public void setLocation_id(int location_id) {
                this.location_id = location_id;
            }

            public String getDetail() {
                return detail;
            }

            public void setDetail(String detail) {
                this.detail = detail;
            }

            public String getZip_code() {
                return zip_code;
            }

            public void setZip_code(String zip_code) {
                this.zip_code = zip_code;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public int getIs_default() {
                return is_default;
            }

            public void setIs_default(int is_default) {
                this.is_default = is_default;
            }

            public boolean is_check() {
                return is_check;
            }

            public void setIs_check(boolean is_check) {
                this.is_check = is_check;
            }

            public int getCheck_code() {
                return check_code;
            }

            public void setCheck_code(int check_code) {
                this.check_code = check_code;
            }
        }
    }
}
